package com.intelligent.bot.service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.intelligent.bot.base.exception.E;
import com.intelligent.bot.dao.TeamClassifyDao;
import com.intelligent.bot.model.Classify;
import com.intelligent.bot.model.TeamClassify;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional(rollbackFor = E.class)
public class TeamClassifyServiceImpl extends ServiceImpl<TeamClassifyDao, TeamClassify> implements ITeamClassifyService {

    @Override
    public List<Classify> getClassifyList(Long teamId) {
        return this.baseMapper.getClassifyList(teamId)  ;
    }
}
